package com.example.base.entity

data class CategoryEntityResult(
    val code: Int,
    val `data`: List<CategoryEntity>,
    val message: String
)
//这是一级分类的数据
data class CategoryEntity(
    val child: List<Child>,
    val extra: String,
    val id: Int,
    val name: String,
    val path: String,
    val pid: Int,
    val sort: Int,
    val status: Boolean,
    val type: Int,
    val url: String
)
//这是二级分类的数据
data class Child(
    val extra: String,
    val id: Int,
    val name: String,
    val path: String,
    val pid: Int,
    val sort: Int,
    val status: Boolean,
    val type: Int,
    val url: String
)